package com.ljx.itbbs.server.article.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-03-31  22:48
 */
@Getter
public class ArticleUpdateEvent extends ApplicationEvent {

    private Long articleId;

    private List<String> tagList;

    private Long articleCategoryId;

    private Long userId;

    private List<Long> resourcesList;

    private Integer integral;

    private Integer isFree;

    public ArticleUpdateEvent(Object source, Long articleId, List<String> tagList, Long articleCategoryId, Long userId, List<Long> resourcesList, Integer integral, Integer isFree) {
        super(source);
        this.articleId = articleId;
        this.tagList = tagList;
        this.articleCategoryId = articleCategoryId;
        this.userId = userId;
        this.resourcesList = resourcesList;
        this.integral = integral;
        this.isFree = isFree;
    }
}
